package self.hoy.demo.cloud.seata;

import com.alibaba.cloud.seata.GlobalTransactionAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author 三共小不
 * @date 2020/6/21
 */
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication(exclude = {
        DataSourceAutoConfiguration.class//取消数据源的自动创建
        , GlobalTransactionAutoConfiguration.class
})
public class SeataAccountStarter {

    public static void main(String[] args) {
        SpringApplication.run(SeataAccountStarter.class, args);
    }
}
